from mainapp import app
from flask_script import Manager
from mainapp.views import bank,user

if __name__ == '__main__':
    # 将蓝图对象注册到flask中
    app.register_blueprint(bank.blue)
    app.register_blueprint(user.blue, url_prefix='/qq')

    manager = Manager(app)
    manager.run()
